/*


'Poimandres' theme; colors from https://github.com/drcmda/poimandres-theme
*/

/* basic attributes and graph settings */
:root {
    --version: '2';         /* the version of openLCA */
    --name: 'Poimandres';         /* the name of the theme */
    --mode: 'dark';         /* this is a dark theme */
  }

  /* -- Graph Model -- */

  #model body {
    background: #1B1E28;  /* the overall background color */
  }

  /* -- boxes -- */

  /* defaults */
  #model box {
    color: #FAF3DD;       /* font color */
    background: #303340;  /* background color */
    border: 2px #BBBDF6;  /* border width and color */
  }

  /* reference processes */
  #model box .reference-process {
    color: #EAECF4;       /* font color */
    background: #303340;  /* background color */
    border: 2px #F087BD;  /* border width and color */
  }

  /* unit processes */
  #model box .unit-process {
    color: #EAECF4;       /* font color */
    background: #303340;  /* background color */
    border: 1px #A6ACCD;  /* border width and color */
  }

  /* system processes */
  #model box .system-process {
    color: #EAECF4;       /* font color */
    background: #303340;  /* background color */
    border: 2px #A6ACCD;  /* border width and color */
  }

  /* library processes */
  #model box .library-process {
    color: #EAECF4;       /* font color */
    background: #303340;  /* background color */
    border: 2px #5DE4C7;  /* border width and color */
  }

  /* sub-systems */
  #model box .sub-system {
    color: #EAECF4;       /* font color */
    background: #303340;  /* background color */
    border: 2px #89DDFF;  /* border width and color */
  }

  /* results */
  #model box .result {
    color: #FAF3DD;       /* font color */
    background: #303340;  /* background color */
    border: 2px #FFFAC2;  /* border width and color */
  }

  /* sticky-note */
  #model box .sticky-note {
    color: #000000;       /* font color */
    background: #fef5aa;  /* background color */
  }

  /* -- process links -- */

  /* defaults */
  #model link {
    color: #f8f8f2;
  }

  /* product flows link */
  #model link .product {
    color: #f8f8f2;
  }

  /* waste flows link */
  #model link .waste {
    color: #f8f8f2;
  }

  /* selected flows */
  #model link ::selection {
    color: #fffac2;
  }

  /* -- labels -- */

  /* info-headers */
  #model label .info {
    color: #767C9D;
  }

  /* product flows */
  #model label .product {
    color: #EAECF4;
  }

  /* waste flows */
  #model label .waste {
    color: #EAECF4;
  }

  /* elementary flows */
  #model label .elementary-flow {
    color: #EAECF4;
  }

  /* -- Sankey Diagram -- */

  #sankey body {
    background: #1B1E28;  /* the overall background color */
  }

  /* -- boxes -- */

  /* defaults */
  #sankey box {
    color: #f8f8f2;       /* font color */
    background: #303340;  /* background color */
    border: 2px #ff79c6;  /* border width and color */
  }

  /* reference processes */
  #sankey box .reference-process {
    color: #f8f8f2;       /* font color */
    background: #303340;  /* background color */
    border: 4px #ff79c6;  /* border width and color */
  }

  /* unit processes */
  #sankey box .unit-process {
    color: #f8f8f2;       /* font color */
    background: #303340;  /* background color */
    border: 2px #A6ACCD;  /* border width and color */
  }

  /* system processes */
  #sankey box .system-process {
    color: #f8f8f2;       /* font color */
    background: #303340;  /* background color */
    border: 3px #A6ACCD;  /* border width and color */
  }

  /* library processes */
  #sankey box .library-process {
    color: #f8f8f2;       /* font color */
    background: #303340;  /* background color */
    border: 3px #5DE4C7;  /* border width and color */
  }

  /* sub-systems */
  #sankey box .sub-system {
    color: #f8f8f2;       /* font color */
    background: #303340;  /* background color */
    border: 5px #89DDFF;  /* border width and color */
  }

  /* results */
  #sankey box .result {
    color: #f8f8f2;       /* font color */
    background: #303340;  /* background color */
    border: 2px #FFFAC2;  /* border width and color */
  }

/* -- links -- */

/* positive impact value */
#sankey link .positive {
  color: #d0679d;
}

/* negative impact value */
#sankey link .negative {
  color: #5fb3a1;
}

/* zero impact value */
#sankey link .neutral {
  color: #89ddff;
}

/* selected flows */
#sankey link ::selection {
  color: #fffac2;
}
